<?php
/**
* The footer for our theme.
* This template is used to generate the footer for the theme.
*
* @package vn.news
* @since vn.news 1.0
*
*/
?>

<div class="clear"></div>

<!-- END .container -->
</div>

<!-- BEGIN .footer -->
<div class="footer radius-top">

	<?php if ( is_active_sidebar('footer') ) { ?>

	<!-- BEGIN .row -->
	<div class="row">

		<!-- BEGIN .footer-widgets -->
		<div class="footer-widgets">

			<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footer') ) : ?>
			<?php endif; ?>

		<!-- END .footer-widgets -->
		</div>

	<!-- END .row -->
	</div>

	<?php } ?>

	<!-- BEGIN .row -->
	<div class="row">

		<!-- BEGIN .footer-information -->
		<div class="footer-information">

			<!-- BEGIN .footer-content -->
			<div class="footer-content">

				<div class="align-left">
					<?php
						$footer_left = of_get_option('footer_left');
						if($footer_left)
							echo $footer_left;
					?>
				</div>

				<div class="align-right">

				</div>

			<!-- END .footer-content -->
			</div>

		<!-- END .footer-information -->
		</div>

	<!-- END .row -->
	</div>

<!-- END .footer -->
</div>

<!-- END #wrap -->
</div>

<?php wp_footer(); ?>

<div id="fb-root"></div>

<!--Google Analytics Code-->
<?php
	$google_analytics = of_get_option('google_analytics');

	if($google_analytics)
		echo '<script type="text/javascript" language="javascript">' . $google_analytics . '</script>';
?>

</body>
</html>